package org.eremite.corm.order.event;

import javax.measure.quantity.Quantity;

public class PaymentEvent<Q extends Quantity> extends OrderEvent {

    public static final int INVOICE = 601;
    public static final int MAKEPAYMENT = 602;
    public static final int ACCEPTREFUND = 603;
    public static final int ACCEPTPAYMENT = 604;
    public static final int MAKEREFUND = 605;

    private long orderLineID;
    private long invoiceID;
    private long dispatchID;
    private OrderPayment<Q> payment;
    private int paymentEventType;

    public long getOrderLineID() {
        return orderLineID;
    }

    public void setOrderLineID(long orderLineID) {
        this.orderLineID = orderLineID;
    }

    public long getInvoiceID() {
        return invoiceID;
    }

    public void setInvoiceID(long invoiceID) {
        this.invoiceID = invoiceID;
    }

    public long getDispatchID() {
        return dispatchID;
    }

    public void setDispatchID(long dispatchID) {
        this.dispatchID = dispatchID;
    }

    public OrderPayment<Q> getPayment() {
        return payment;
    }

    public void setPayment(OrderPayment<Q> payment) {
        this.payment = payment;
    }

    public int getPaymentEventType() {
        return paymentEventType;
    }

    public void setPaymentEventType(int paymentEventType) {
        this.paymentEventType = paymentEventType;
    }
}
